"""
商品类:
    商品名称 价格 剩余数量

"""
class Goods():
    __slots__ = ('name', 'gprice','balance')
    def __init__(self,name,gprice,balance):
        self.name = name
        self.gprice = gprice
        self.balance = balance
    def __str__(self):
        return f'[Goods]:{self.name},{self.gprice},{self.balance}'
    __repr__ = __str__